function Category(id, name) {
	this.id = id;
	this.name = name;
}

function ChooseCategory() {
	this.categories = new Array(); // Category as array
	
	this.setCategories = function(categories) {
		this.categories = categories;
	}
	this.design = function(){
		for(var i in categories){
			var c = categories[i];
			$('#categories1').append('<li><a href="#" id="cat'+c.id+'">'+c.name+'</a></li>');
		}
	}
}
// TO CONTINUE...